Download OpenAPI specification:Download
The TMForum API is a RESTful adapter that exposes IDI Billing customer, billing, and document data using TM Forum Open API resource models. It currently implements a subset of TMF629 Customer Management (v5), TMF678 Customer Bill Management (v5), and TMF667 Document Management (v4).
Resources related to customers (TMF629 Customer Management v5). A TMF customer maps to an IDI Billing customer account; the customer id is the IDI Billing account number.
Retrieves a page of customers. [Rev 1.00]
| limit | integer Example: limit=10 Requested number of resources to be provided in the response. When omitted, the default page size of the underlying IDI Billing service is used. |
| offset | integer Example: offset=0 Requested index for the start of resources to be provided in the response. Used together with |
[- {
- "@type": "Customer",
- "id": "100200300",
- "name": "Jane Doe",
- "status": "active",
- "engagedParty": {
- "@type": "PartyRef",
- "id": "IND-12345",
- "name": "Jane Doe",
- "@referredType": "Individual"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.billing.billingAccountNumber",
- "value": "100200300"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.billing.billCycleID",
- "value": 3
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.customer.accountType",
- "value": "Residential"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.customer.marketID",
- "value": 1
}, - {
- "@type": "NumberCharacteristic",
- "name": "idi.billing.currentAmountDue",
- "value": 125.5
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.billing.currentAmountDueAsOf",
- "value": "2026-09-24T14:05:11.1234567+00:00"
}
], - "contactMedium": [
- {
- "@type": "PhoneContactMedium",
- "preferred": true,
- "phoneNumber": "5155550100"
}, - {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}, - {
- "@type": "GeographicAddressContactMedium",
- "street1": "123 Main St",
- "city": "Des Moines",
- "stateOrProvince": "IA",
- "postCode": "50309",
- "country": "US"
}
], - "validFor": {
- "startDateTime": "2026-01-15T00:00:00+00:00"
}
}
]Creates a new IDI Billing customer account. [Rev 1.00]
| name required | string Name of the customer. |
required | object (EngagedParty) The party engaged in the customer role. |
Array of objects (Characteristic) IDI Billing account attributes. | |
Array of any (ContactMedium) |
{- "name": "Jane Doe",
- "engagedParty": {
- "id": "IND-12345",
- "name": "Jane Doe",
- "@referredType": "Individual"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.billing.market",
- "value": "Des Moines"
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.customer.accountType",
- "value": "RESIDENTIAL"
}
], - "contactMedium": [
- {
- "@type": "PhoneContactMedium",
- "phoneNumber": "5155550100"
}, - {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}, - {
- "@type": "GeographicAddressContactMedium",
- "street1": "123 Main St",
- "city": "Des Moines",
- "stateOrProvince": "IA",
- "postCode": "50309",
- "country": "US"
}
]
}{- "@type": "Customer",
- "id": "100200300",
- "name": "Jane Doe",
- "status": "active",
- "engagedParty": {
- "@type": "PartyRef",
- "id": "IND-12345",
- "name": "Jane Doe",
- "@referredType": "Individual"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.billing.billingAccountNumber",
- "value": "100200300"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.billing.billCycleID",
- "value": 3
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.customer.accountType",
- "value": "Residential"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.customer.marketID",
- "value": 1
}, - {
- "@type": "NumberCharacteristic",
- "name": "idi.billing.currentAmountDue",
- "value": 125.5
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.billing.currentAmountDueAsOf",
- "value": "2026-09-24T14:05:11.1234567+00:00"
}
], - "contactMedium": [
- {
- "@type": "PhoneContactMedium",
- "preferred": true,
- "phoneNumber": "5155550100"
}, - {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}, - {
- "@type": "GeographicAddressContactMedium",
- "street1": "123 Main St",
- "city": "Des Moines",
- "stateOrProvince": "IA",
- "postCode": "50309",
- "country": "US"
}
], - "validFor": {
- "startDateTime": "2026-01-15T00:00:00+00:00"
}
}Retrieves a customer by account number. [Rev 1.00]
| id required | string Example: 100200300 The IDI Billing account number of the customer. |
{- "@type": "Customer",
- "id": "100200300",
- "name": "Jane Doe",
- "status": "active",
- "engagedParty": {
- "@type": "PartyRef",
- "id": "IND-12345",
- "name": "Jane Doe",
- "@referredType": "Individual"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.billing.billingAccountNumber",
- "value": "100200300"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.billing.billCycleID",
- "value": 3
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.customer.accountType",
- "value": "Residential"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.customer.marketID",
- "value": 1
}, - {
- "@type": "NumberCharacteristic",
- "name": "idi.billing.currentAmountDue",
- "value": 125.5
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.billing.currentAmountDueAsOf",
- "value": "2026-09-24T14:05:11.1234567+00:00"
}
], - "contactMedium": [
- {
- "@type": "PhoneContactMedium",
- "preferred": true,
- "phoneNumber": "5155550100"
}, - {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}, - {
- "@type": "GeographicAddressContactMedium",
- "street1": "123 Main St",
- "city": "Des Moines",
- "stateOrProvince": "IA",
- "postCode": "50309",
- "country": "US"
}
], - "validFor": {
- "startDateTime": "2026-01-15T00:00:00+00:00"
}
}Partially updates a customer by account number and returns the updated customer. [Rev 1.00]
| id required | string Example: 100200300 The IDI Billing account number of the customer. |
required | object (EngagedParty) The party engaged in the customer role. |
| name | string Name of the customer. |
| status | string Enum: "active" "inactive" "suspended" Account status of the customer. |
Array of objects (Characteristic) IDI Billing account attributes. | |
Array of any (ContactMedium) |
{- "engagedParty": {
- "id": "IND-12345"
}, - "status": "active",
- "contactMedium": [
- {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}
]
}{- "@type": "Customer",
- "id": "100200300",
- "name": "Jane Doe",
- "status": "active",
- "engagedParty": {
- "@type": "PartyRef",
- "id": "IND-12345",
- "name": "Jane Doe",
- "@referredType": "Individual"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.billing.billingAccountNumber",
- "value": "100200300"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.billing.billCycleID",
- "value": 3
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.customer.accountType",
- "value": "Residential"
}, - {
- "@type": "IntegerCharacteristic",
- "name": "idi.customer.marketID",
- "value": 1
}, - {
- "@type": "NumberCharacteristic",
- "name": "idi.billing.currentAmountDue",
- "value": 125.5
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.billing.currentAmountDueAsOf",
- "value": "2026-09-24T14:05:11.1234567+00:00"
}
], - "contactMedium": [
- {
- "@type": "PhoneContactMedium",
- "preferred": true,
- "phoneNumber": "5155550100"
}, - {
- "@type": "EmailContactMedium",
- "emailAddress": "jane.doe@example.com"
}, - {
- "@type": "GeographicAddressContactMedium",
- "street1": "123 Main St",
- "city": "Des Moines",
- "stateOrProvince": "IA",
- "postCode": "50309",
- "country": "US"
}
], - "validFor": {
- "startDateTime": "2026-01-15T00:00:00+00:00"
}
}Resources related to customer bills (TMF678 Customer Bill Management v5). A TMF customer bill maps to an IDI Billing invoice; the customer bill id is the IDI Billing invoice number.
Retrieves a page of customer bills, optionally for a single billing account. [Rev 1.00]
404 is returned when no invoices match.| limit | integer Example: limit=10 Requested number of resources to be provided in the response. When omitted, the default page size of the underlying IDI Billing service is used. |
| offset | integer Example: offset=0 Requested index for the start of resources to be provided in the response. Used together with |
| id | string Example: id=100200300 The IDI Billing account number to return customer bills for. When omitted, customer bills for all accounts are returned. |
[- {
- "@type": "CustomerBill",
- "id": "5001234",
- "billNo": "5001234",
- "billDate": "2026-09-01T00:00:00",
- "paymentDueDate": "2026-09-21T00:00:00",
- "state": "sent",
- "amountDue": {
- "unit": "USD",
- "value": 125.5
}, - "remainingAmount": {
- "unit": "USD",
- "value": 0
}, - "taxExcludedAmount": {
- "unit": "USD",
- "value": 112.25
}, - "taxIncludedAmount": {
- "unit": "USD",
- "value": 13.25
}, - "billingAccount": {
- "@type": "BillingAccountRef",
- "id": "100200300",
- "name": "Jane Doe"
}, - "billCycle": {
- "@type": "BillCycleRef",
- "id": "812"
}, - "billingPeriod": {
- "startDateTime": "2026-08-01T00:00:00+00:00",
- "endDateTime": "2026-08-31T00:00:00+00:00"
}, - "billDocument": [
- {
- "@type": "Attachment",
}
]
}
]Retrieves a customer bill by invoice number. [Rev 1.00]
| id required | integer Example: 5001234 The IDI Billing invoice number. |
{- "@type": "CustomerBill",
- "id": "5001234",
- "billNo": "5001234",
- "billDate": "2026-09-01T00:00:00",
- "paymentDueDate": "2026-09-21T00:00:00",
- "state": "sent",
- "amountDue": {
- "unit": "USD",
- "value": 125.5
}, - "remainingAmount": {
- "unit": "USD",
- "value": 0
}, - "taxExcludedAmount": {
- "unit": "USD",
- "value": 112.25
}, - "taxIncludedAmount": {
- "unit": "USD",
- "value": 13.25
}, - "billingAccount": {
- "@type": "BillingAccountRef",
- "id": "100200300",
- "name": "Jane Doe"
}, - "billCycle": {
- "@type": "BillCycleRef",
- "id": "812"
}, - "billingPeriod": {
- "startDateTime": "2026-08-01T00:00:00+00:00",
- "endDateTime": "2026-08-31T00:00:00+00:00"
}, - "billDocument": [
- {
- "@type": "Attachment",
}
]
}Resources related to applied customer billing rates (TMF678 Customer Bill Management v5). Applied customer billing rates are the charges, credits, payments, adjustments, usage, and taxes that make up an invoice.
Retrieves the applied customer billing rates (charges, credits, payments, adjustments, usage, and taxes) that make up a customer bill. [Rev 1.00]
bill.id is omitted, the rates for the most recent non-prebill invoice in the environment are returned.Each rate is built from one of the following IDI Billing invoice details:
id is {invoiceNumber}-{invoiceDetailID}.id is {invoiceNumber}-{ledgerItemID}.id is the invoice number.id is the service ID.id is the service ID. Carries appliedTax.id is the tax ID. Carries appliedTax.idi.invoiceDetailType (StringCharacteristic) : The IDI Billing invoice detail type (for example usage, Taxes, Finance Charge).idi.invoiceDetailSubType (StringCharacteristic) : The detail sub-type (for example Service Level, Account Level, or the service catalog).| bill.id | integer Example: bill.id=5001234 The IDI Billing invoice number to return rates for. |
[- {
- "@type": "AppliedCustomerBillingRate",
- "id": "5001234-778899",
- "name": "Recurring Products",
- "description": "Unlimited Talk and Text",
- "date": "2026-08-01T00:00:00",
- "appliedBillingRateType": "appliedBillingCharge",
- "isBilled": true,
- "bill": {
- "@type": "CustomerBillRef",
- "id": "5001234",
- "@referredType": "CustomerBill"
}, - "periodCoverage": {
- "startDateTime": "2026-08-01T00:00:00+00:00",
- "endDateTime": "2026-08-31T00:00:00+00:00"
}, - "taxExcludedAmount": {
- "unit": "USD",
- "value": 45
}, - "taxIncludedAmount": {
- "unit": "USD",
- "value": 45
}, - "product": {
- "@type": "ProductRef",
- "id": "5155550100",
- "name": "Wireless Line",
- "@referredType": "Product"
}, - "characteristic": [
- {
- "@type": "StringCharacteristic",
- "name": "idi.invoiceDetailType",
- "value": "Recurring Products"
}, - {
- "@type": "StringCharacteristic",
- "name": "idi.invoiceDetailSubType",
- "value": "Unlimited Talk and Text"
}
]
}
]Resources related to documents (TMF667 Document Management v4), such as the rendered invoice for a customer bill.
Retrieves the content of a document, such as a rendered invoice. [Rev 1.00]
Document resource. The Content-Type header reflects the stored file type (for example application/pdf).href returned in CustomerBill.billDocument links to this operation.| id required | string Example: invoice-5001234 The document identifier in the format |
{- "@type": "Error",
- "code": "400",
- "reason": "Bad Request",
- "message": "Document id 'invoice' is not in the expected '{documentType}-{documentId}' format.",
- "status": "400"
}GET api/customerManagement/v5/customer/{id}GET api/customerManagement/v5/customerPOST api/customerManagement/v5/customerPATCH api/customerManagement/v5/customer/{id}GET api/customerBillManagement/v5/customerBill/{id}GET api/customerBillManagement/v5/customerBillGET api/customerBillManagement/v5/appliedCustomerBillingRateGET api/documentManagement/v4/document/{id}